package littlepicture.data.dao;

import java.util.List;

import littlepicture.data.model.Employee;
import littlepicture.data.template.ModulePersons;

public interface EmployeeDao {
	/***
	 * Add new employee
	 * 
	 * @param employee
	 */
	public void addEmployee(Employee employee);
	
	/***
	 * Delete employee based on his/her id
	 * 
	 * @param id
	 */
	public void deleteEmployeeById(int id);
	
	/***
	 * Update employee
	 * 
	 * @param employee
	 */
	public void updateEmployee(Employee employee);
	
	/**
	 * Retrieve modules and persons in each
	 * 
	 * @return
	 */
	public List<ModulePersons> getModulePersons();
	
}
